package com.fgs.common.uploadPicture.compress;

import java.io.File;

/**
 * @author fgs
 * @date 2020/10/17
 * @description
 **/
public interface OnPictureCompressListener {
    /**
     * Fired when a compression returns successfully, override to handle in your own code
     */
    void onSuccess(File file);

    /**
     * Fired when a compression fails to complete, override to handle in your own code
     */
    void onError(Throwable e);
}
